package com.xhtt.modules.task.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xhtt.common.utils.PageUtils;
import com.xhtt.modules.sys.entity.SysUserEntity;
import com.xhtt.modules.task.entity.TaskShipPlan;
import com.xhtt.modules.task.entity.TaskShipSeo;
import com.xhtt.modules.task.model.ship.ArrangeModel;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 船计划 服务类
 * </p>
 *
 * @author feipc
 * @since 2019-02-27
 */
public interface TaskShipPlanService extends IService<TaskShipPlan> {

    PageUtils planList(Map<String, Object> params, SysUserEntity user);

    void addPlan(TaskShipPlan taskShipPlan);

    void deletePlan(List<Integer> integers);

    TaskShipPlan getPlan(Integer id);

    void updatePlan(TaskShipPlan taskShipPlan);

    ArrangeModel getArrangeInfo(Integer id);

    void arrange(ArrangeModel arrangeModel);

    void back(TaskShipPlan plan);

    void addPlanFromOut(TaskShipPlan taskShipPlan);

    PageUtils seoList(Map<String,Object> params);

    void seoEdit(TaskShipSeo seo, SysUserEntity user);
}
